package com.blog.pojo;

public class Article {

    private Integer id;
    private String title;
    private String author;
    private String sort;
    private String time;
    private Integer star;
    private Integer comment;
    private Integer visit;
    private String content;

    public Article() {
    }

    public Article(Integer id, String title, String author, String sort, String time, Integer star, Integer comment, Integer visit, String content) {
        this.id = id;
        this.title = title;
        this.author = author;
        this.sort = sort;
        this.time = time;
        this.star = star;
        this.comment = comment;
        this.visit = visit;
        this.content = content;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public Integer getComment() {
        return comment;
    }

    public void setComment(Integer comment) {
        this.comment = comment;
    }

    public Integer getVisit() {
        return visit;
    }

    public void setVisit(Integer visit) {
        this.visit = visit;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", sort='" + sort + '\'' +
                ", time='" + time + '\'' +
                ", star=" + star +
                ", comment=" + comment +
                ", visit=" + visit +
                ", content='" + content + '\'' +
                '}';
    }
}
